<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>鼓励金红包</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<script src="__INDEX__/js/mui.min.js"></script>
		<link href="__INDEX__/css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="__INDEX__/css/iconfont.css" />
		<link rel="stylesheet" href="__INDEX__/css/style.css" />
		<link rel="stylesheet" href="__INDEX__/css/mall.css" />
		<style type="text/css">
			.payment_erweima canvas {
				width: 150px;
				height: 150px;
			}
			
			@media only screen and (min-width: 321px) {
				.payment_erweima canvas,
				.payment_erweima {
					width: 180px;
					height: 180px;
				}
				.sherweimabox {
					width: 200px;
					height: 200px;
				}
			}
			
			@media only screen and (min-width: 381px) {
				.payment_erweima canvas,
				.payment_erweima {
					width: 210px;
					height: 210px;
				}
				.sherweimabox {
					width: 230px;
					height: 230px;
				}
			}
			
			@media only screen and (width: 384px) {
				.payment_erweima canvas,
				.payment_erweima {
					width: 190px;
					height: 190px;
				}
				.sherweimabox {
					width: 210px;
					height: 210px;
				}
			}
			
			@media only screen and (min-width: 600px) {
				.payment_erweima canvas,
				.payment_erweima {
					width: 310px;
					height: 310px;
				}
				.sherweimabox {
					width: 330px;
					height: 330px;
				}
			}
			.tip {
				text-align: center;
				color: #FDF85E;
				margin-top: .3rem;
				font-size: .85rem;
				line-height: normal;
			}
			
			.hongb_tanc {
				position: fixed;
				top: 0;
				bottom: 0;
				left: 0;
				right: 0;
			}
		</style>
	</head>

	<body style="background: #C32C25;">
		<img style="display: none;" src="/public/static/index/images/share.jpg" />
		<div class="mui-content  hongb03_content">
			<div class="hongb_s01"><img src="__INDEX__/images/hongb01.jpg"></div>
			<div class="hongb_s02"><img src="__INDEX__/images/hongb02.jpg"></div>
			<div class="hongb_erwmbox">
				<div class="sherweimabox">
					<div class="payment_erweima">
						<div id="qrcode"></div>
						<img id="code_img" src="{$code_url}" />
					</div>
				</div>
				<div class="tip">打开微信或支付宝【扫一扫】领取红包<br/>也可点击下方按钮分享给朋友领取</div>
			</div>
			<div class="hongb_s03">
				<a href="#" onclick="$('.hongb_tanc').show();"><img src="__INDEX__/images/hongb03.jpg "></a></div>
		<div class="hongb_s04 "><img src="__INDEX__/images/hongb04.jpg "></div>
		<div class="hongb_tanc "><img onclick="$( '.hongb_tanc').hide(); " src="__INDEX__/images/hongb_tanc.png "></div>
	</div>
<script src="__PUBLIC__/static/js/jquery.min.js "></script>
<link rel="stylesheet " href="__PUBLIC__/static/layui/css/layui.css ">
<script src="__PUBLIC__/static/layui/layui.all.js "></script>
<script src="__PUBLIC__/static/js/help.js "></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js "></script>
<script>
	
	var uid = "{$Think.session.info_user.id}";
	var gurl = "{$url}";
	var _share_img = "images/fx.png";
	var desc = "{$hb['memo']}";
	if(desc == " ") {
		desc = "鼓励金红包 ";
	}
	var news = {
		"title": "鼓励金",
		"desc": desc,
		"imgUrl": "https://"+document.domain+"__PUBLIC__/static/index/images/share.jpg",
		"link": gurl
	};
	share_set(news);
</script>